﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace MinimizeEngine.Managers
{
    public class MEEngineManager : MinimizeEngine
    {
        #region Fields

        /// <summary>
        /// Our XNA Game
        /// </summary>
        private static Game mGame;

        #endregion

        #region Properties

        public static Game Game
        {
            get { return mGame; }
            set { mGame = value; }
        }

        #endregion

        #region Initialization
        /// <summary>
        /// Engine Manager Constructor.
        /// Creates a new Core Minimize Engine.
        /// </summary>
        /// <param name="windowTitle">Title of the Window</param>
        /// <param name="width">Width of the Render Area</param>
        /// <param name="height">Height of the Render Area</param>
        public MEEngineManager(string windowTitle) : base(windowTitle)
        {

        }
        #endregion

        #region Draw
        /// <summary>
        /// Draw the Game
        /// </summary>
        /// <param name="gameTime"></param>
        protected override void Draw(GameTime gameTime)
        {
            //Draw the FPS Counter as the Window Title
            #if DEBUG
            //this.Window.Title = FPSComponent.FPS.ToString();
            #endif

            base.Draw(gameTime);
        }
        #endregion
    }
}
